public class max {
    public static void main(String[] args) {
        System.out.println(max(21.1,66.1,11.1));
    }

    public static int max(int a, int b) {
        if (a > b) {
            return a;
        }
        return b;
    }

    public static double max(double a, double b, double c) {
        if(a>=b && a>=c) {
            return a;
        }else if(b>=a && b>=c){
            return b;
        }else{
            return c;
        }
    }
}
